package org.jeecg.modules.questions;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.List;

@Data
public class QuestionVO {
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**题号*/
    @Excel(name = "题号", width = 15)
    @ApiModelProperty(value = "题号")
    private String questionNumber;
    /**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
    /**父id*/
    @Excel(name = "父id", width = 15)
    @ApiModelProperty(value = "父id")
    private String parentId;
    private List<AnswerVO> answerList;
    /**templateId*/
    @Excel(name = "templateId", width = 15)
    @ApiModelProperty(value = "templateId")
    private String templateId;
    private String openid;
    /**问题1 无答案，2有答案 ，3其他 */
    @Excel(name = "类型模板、问题、答案 ", width = 15)
    @ApiModelProperty(value = "类型模板、问题、答案 ")
    private String questionType;

}
